package com.hjm.project.agentInfo.record.domain;

import java.util.Date;
import com.hjm.framework.aspectj.lang.annotation.Excel;
import com.hjm.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 商户操作记录对象 client_record
 * 
 * @author LOVE
 * @date 2020-11-23
 */
public class ClientRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 商户编号 */
    @Excel(name = "商户编号")
    private String clientno;

    /** 操作 */
    @Excel(name = "操作")
    private String note;

    /** 操作时间 */
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operatorTime;

    /** 0商户 1 服务商 2 财务管理 3 操作文件 4 分润调整项 */
    @Excel(name = "0商户 1 服务商 2 财务管理 3 操作文件 4 分润调整项")
    private Long objType;

    /** 操作详情 */
    @Excel(name = "操作详情")
    private String noteDetail;

    /** 操作人 */
    @Excel(name = "操作人")
    private String operatorName;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setClientno(String clientno)
    {
        this.clientno = clientno;
    }

    public String getClientno()
    {
        return clientno;
    }
    public void setNote(String note)
    {
        this.note = note;
    }

    public String getNote()
    {
        return note;
    }
    public void setOperatorTime(Date operatorTime)
    {
        this.operatorTime = operatorTime;
    }

    public Date getOperatorTime()
    {
        return operatorTime;
    }
    public void setObjType(Long objType)
    {
        this.objType = objType;
    }

    public Long getObjType()
    {
        return objType;
    }
    public void setNoteDetail(String noteDetail)
    {
        this.noteDetail = noteDetail;
    }

    public String getNoteDetail()
    {
        return noteDetail;
    }
    public void setOperatorName(String operatorName)
    {
        this.operatorName = operatorName;
    }

    public String getOperatorName()
    {
        return operatorName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("clientno", getClientno())
            .append("note", getNote())
            .append("remark", getRemark())
            .append("operatorTime", getOperatorTime())
            .append("objType", getObjType())
            .append("noteDetail", getNoteDetail())
            .append("operatorName", getOperatorName())
            .toString();
    }
}
